package com.kingdee.eas.construmanag;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class XmghTreeFactory
{
    private XmghTreeFactory()
    {
    }
    public static com.kingdee.eas.construmanag.IXmghTree getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghTree)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("D275D890") ,com.kingdee.eas.construmanag.IXmghTree.class);
    }
    
    public static com.kingdee.eas.construmanag.IXmghTree getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghTree)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("D275D890") ,com.kingdee.eas.construmanag.IXmghTree.class, objectCtx);
    }
    public static com.kingdee.eas.construmanag.IXmghTree getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghTree)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("D275D890"));
    }
    public static com.kingdee.eas.construmanag.IXmghTree getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghTree)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("D275D890"));
    }
}